package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.UserMissionDO;
import com.sdleyou.treepro.common.model.vo.UserMissionVO;
import org.springframework.beans.BeanUtils;

public class UserMissionDO2UserMissionVOConverter {
    public static UserMissionVO convert(UserMissionDO missionDO) {
        UserMissionVO missionVO = new UserMissionVO();
        BeanUtils.copyProperties(missionDO, missionVO);
        return missionVO;
    }
}
